package cn.mumzone.pos.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by qiuzhenhuan on 2019/6/28.
 */

public class TimeCardEntity implements Serializable {

    private double ticketPrice;
    private long endDate;
    private int residueTimes;
    private int index;
    private String goodsId;
    private String memberName;
    private long updateTime;
    private String companyId;
    private int times;
    private String phone;
    private long createTime;
    private String id;
    private String shopId;
    private String memberCompanyId;
    private String goodsName;
    private String serviceName;
    private int cardNum;
    private long startDate;
    private int status;
    private boolean isChecked;
    private String orderCode;
    private String servicePrice;
    private String validDay;
    private String originPrice;

    private String availableWeek;
    private List<SalesTimesCard.TimeListBean> availableTimes;

    public String getAvailableWeek() {
        return availableWeek;
    }

    public void setAvailableWeek(String availableWeek) {
        this.availableWeek = availableWeek;
    }

    public List<SalesTimesCard.TimeListBean> getAvailableTimes() {
        return availableTimes;
    }

    public void setAvailableTimes(List<SalesTimesCard.TimeListBean> availableTimes) {
        this.availableTimes = availableTimes;
    }

    public String getOriginPrice() {
        return originPrice;
    }

    public void setOriginPrice(String originPrice) {
        this.originPrice = originPrice;
    }

    public String getValidDay() {
        return validDay;
    }

    public void setValidDay(String validDay) {
        this.validDay = validDay;
    }

    public String getServicePrice() {
        return servicePrice;
    }

    public void setServicePrice(String servicePrice) {
        this.servicePrice = servicePrice;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    private List<TimeCardRecord> usedDetail;

    public List<TimeCardRecord> getUsedDetail() {
        return usedDetail;
    }

    public void setUsedDetail(List<TimeCardRecord> usedDetail) {
        this.usedDetail = usedDetail;
    }

    public double getTicketPrice() {
        return ticketPrice;
    }

    public void setTicketPrice(double ticketPrice) {
        this.ticketPrice = ticketPrice;
    }

    public long getEndDate() {
        return endDate;
    }

    public void setEndDate(long endDate) {
        this.endDate = endDate;
    }

    public int getResidueTimes() {
        return residueTimes;
    }

    public void setResidueTimes(int residueTimes) {
        this.residueTimes = residueTimes;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getMemberCompanyId() {
        return memberCompanyId;
    }

    public void setMemberCompanyId(String memberCompanyId) {
        this.memberCompanyId = memberCompanyId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public int getCardNum() {
        return cardNum;
    }

    public void setCardNum(int cardNum) {
        this.cardNum = cardNum;
    }

    public long getStartDate() {
        return startDate;
    }

    public void setStartDate(long startDate) {
        this.startDate = startDate;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }


    public class TimeCardRecord implements Serializable {
        private long timeEnd;

        private String mchId;

        private String buyerEmail;

        private String userId;

        private String returnCode;

        private int payType;

        private double money;

        private long createTime;

        private String retFlowId;

        private String orderCode;

        private String id;

        private String serviceId;

        private int usedNum;


        public long getTimeEnd() {
            return timeEnd;
        }

        public void setTimeEnd(long timeEnd) {
            this.timeEnd = timeEnd;
        }

        public String getMchId() {
            return mchId;
        }

        public void setMchId(String mchId) {
            this.mchId = mchId;
        }

        public String getBuyerEmail() {
            return buyerEmail;
        }

        public void setBuyerEmail(String buyerEmail) {
            this.buyerEmail = buyerEmail;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getReturnCode() {
            return returnCode;
        }

        public void setReturnCode(String returnCode) {
            this.returnCode = returnCode;
        }

        public int getPayType() {
            return payType;
        }

        public void setPayType(int payType) {
            this.payType = payType;
        }

        public double getMoney() {
            return money;
        }

        public void setMoney(double money) {
            this.money = money;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getRetFlowId() {
            return retFlowId;
        }

        public void setRetFlowId(String retFlowId) {
            this.retFlowId = retFlowId;
        }

        public String getOrderCode() {
            return orderCode;
        }

        public void setOrderCode(String orderCode) {
            this.orderCode = orderCode;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getServiceId() {
            return serviceId;
        }

        public void setServiceId(String serviceId) {
            this.serviceId = serviceId;
        }

        public int getUsedNum() {
            return usedNum;
        }

        public void setUsedNum(int usedNum) {
            this.usedNum = usedNum;
        }
    }
}
